package com.hbyj.hbm.vo;

import java.util.HashSet;
import java.util.Set;

/**
 * Functions entity. @author MyEclipse Persistence Tools
 */

public class Functions implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer flevel;
	private Integer parentId;
	private String remarks;
	private Set roleFunctions = new HashSet(0);

	// Constructors

	/** default constructor */
	public Functions() {
	}

	/** minimal constructor */
	public Functions(Integer id, String name, Integer flevel, Integer parentId) {
		this.id = id;
		this.name = name;
		this.flevel = flevel;
		this.parentId = parentId;
	}

	/** full constructor */
	public Functions(Integer id, String name, Integer flevel, Integer parentId,
			String remarks, Set roleFunctions) {
		this.id = id;
		this.name = name;
		this.flevel = flevel;
		this.parentId = parentId;
		this.remarks = remarks;
		this.roleFunctions = roleFunctions;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getFlevel() {
		return this.flevel;
	}

	public void setFlevel(Integer flevel) {
		this.flevel = flevel;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Set getRoleFunctions() {
		return this.roleFunctions;
	}

	public void setRoleFunctions(Set roleFunctions) {
		this.roleFunctions = roleFunctions;
	}

}